<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: 2px solid pink;
        }
        div img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            transition: all 0.4s;
        }
        div img:hover {
            transform: rotate(1580deg);
        }
    </style>
</head>
<body>
    <div>
        <img src="media/pic.jpg" alt="">
    </div>
</body>
</html>